WP_Defender\Component\Password_Protection S

Total Complexity 48
Dependencies 7
Dependents 3
Total lines 349
Lines of code 177
Logical lines of code 86
Comment lines 130
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
is_enabled_by_user_role()
S
54 6 22
do_weak_reset()
S
58 6 16
do_force_reset()
S
60 5 13
check_pwned_password()
S
51 4 27
hosting_compatibility()
S
60 4 11
get_submitted_password()
S
62 3 11
get_reset_password_redirect_url()
S
59 2 16
reset_password_redirect()
S
65 3 9
password_last_changed()
S
64 3 10
remove_extra_cookies()
S
64 3 8
set_cookie_notice()
S
72 2 5
remove_cookie_notice()
S
70 2 6
check_expired_password()
S
78 2 3
__construct()
S
68 1 7
handle_password_updated()
S
79 1 3
trigger_redirect()
S
64 1 10